<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>公用组件</title>
</head>
<body>
<footer th:fragment="copy">
    &copy; 2023 learn spring boot
</footer>

<div id="language" th:fragment="language">
    <a href="#" th:href="@{/thymeleaf/index(l='zh_CN')}" class="link-secondary">中文</a>
    |
    <a href="#" th:href="@{/thymeleaf/index(l='en_US')}" class="link-secondary ">英文</a>
</div>
</body>
</html>